package com.application.lucky.bean.jsonBean;

import java.io.Serializable;
import java.util.List;

public class RedPListbean implements Serializable {


    /**
     * user : {"userId":8,"nickName":"100133","headPic":"header9.png"}
     * rewardMoney : 0
     * redNum : 1
     * money : 100
     * xuserInfoBeanList : [{"user":{"userId":-72,"nickName":"test72","headPic":"header1.png"},"matchNo":0,"money":100,"match":false}]
     * xlist : [1]
     * xmatchList : []
     */

    private UserBean user;
    private int rewardMoney;
    private int redNum;
    private int multiple;
    private boolean match;
    public String message;
    public ChaZhangBean bean;

    public ChaZhangBean getBean() {
        return bean;
    }

    public void setBean(ChaZhangBean bean) {
        this.bean = bean;
    }

    public int getMultiple() {
        return multiple;
    }

    public void setMultiple(int multiple) {
        this.multiple = multiple;
    }

    public boolean isMatch() {
        return match;
    }

    public void setMatch(boolean match) {
        this.match = match;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    private int money;
    private long createTime;
    private List<XuserInfoBeanListBean> xuserInfoBeanList;
    private List<Integer> xlist;
    private List<Integer> xmatchList;

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public int getRewardMoney() {
        return rewardMoney;
    }

    public void setRewardMoney(int rewardMoney) {
        this.rewardMoney = rewardMoney;
    }

    public int getRedNum() {
        return redNum;
    }

    public void setRedNum(int redNum) {
        this.redNum = redNum;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public List<XuserInfoBeanListBean> getXuserInfoBeanList() {
        return xuserInfoBeanList;
    }

    public void setXuserInfoBeanList(List<XuserInfoBeanListBean> xuserInfoBeanList) {
        this.xuserInfoBeanList = xuserInfoBeanList;
    }

    public List<Integer> getXlist() {
        return xlist;
    }

    public void setXlist(List<Integer> xlist) {
        this.xlist = xlist;
    }

    public List<Integer> getXmatchList() {
        return xmatchList;
    }

    public void setXmatchList(List<Integer> xmatchList) {
        this.xmatchList = xmatchList;
    }

    public static class UserBean  implements Serializable{
        /**
         * userId : 8
         * nickName : 100133
         * headPic : header9.png
         */

        private int userId;
        private String nickName;
        private String headPic;

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getHeadPic() {
            return headPic;
        }

        public void setHeadPic(String headPic) {
            this.headPic = headPic;
        }
    }

    public static class XuserInfoBeanListBean implements Serializable {
        /**
         * user : {"userId":-72,"nickName":"test72","headPic":"header1.png"}
         * matchNo : 0
         * money : 100
         * match : false
         */

        private UserBeanX user;
        private int matchNo;
        private int money;
        private boolean match;

        public UserBeanX getUser() {
            return user;
        }

        public void setUser(UserBeanX user) {
            this.user = user;
        }

        public int getMatchNo() {
            return matchNo;
        }

        public void setMatchNo(int matchNo) {
            this.matchNo = matchNo;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public boolean isMatch() {
            return match;
        }

        public void setMatch(boolean match) {
            this.match = match;
        }

        public static class UserBeanX implements Serializable {
            /**
             * userId : -72
             * nickName : test72
             * headPic : header1.png
             */

            private int userId;
            private String nickName;
            private String headPic;

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getHeadPic() {
                return headPic;
            }

            public void setHeadPic(String headPic) {
                this.headPic = headPic;
            }
        }
    }

    @Override
    public String toString() {
        return "RedPListbean{" +
                "user=" + user +
                ", rewardMoney=" + rewardMoney +
                ", redNum=" + redNum +
                ", multiple=" + multiple +
                ", match=" + match +
                ", message='" + message + '\'' +
                ", money=" + money +
                ", createTime=" + createTime +
                ", xuserInfoBeanList=" + xuserInfoBeanList +
                ", xlist=" + xlist +
                ", xmatchList=" + xmatchList +
                '}';
    }
}
